/***************************************************************
 * Name:      BookPlayerApp.cpp
 * Purpose:   Code for Application Class
 * Author:    frank ()
 * Created:   2012-04-27
 * Copyright: frank ()
 * License:
 **************************************************************/

#ifdef WX_PRECOMP
#include "wx_pch.h"
#endif

#ifdef __BORLANDC__
#pragma hdrstop
#endif //__BORLANDC__

#include "BookPlayerApp.h"
#include "BookPlayerMain.h"

#include "MainFrame.h"

//(*AppHeaders
#include "MainFrame.h"
#include <wx/image.h>
//*)

IMPLEMENT_APP(BookPlayerApp);

bool BookPlayerApp::OnInit()
{
	//(*AppInitialize
	bool wxsOK = true;
	wxInitAllImageHandlers();
	if ( wxsOK )
	{
		MainFrame* Frame = new MainFrame(0);
		Frame->Show();
		SetTopWindow(Frame);
	}
	//*)
	//return wxsOK;

/*
    MainFrame* frame = new MainFrame(NULL);

    frame->Show(true);

    SetTopWindow(frame);
*/
    return true;
}
